package com.suqiu.common.utils;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 短信模板配置表;SMS template configuration table
 * </p>
 *
 * @author zhengnaishan
 * @since 2022-03-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sms_template")
public class SmsTemplate implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 短信模板ID;SMS Template ID
     */
    private Long templateId;

    /**
     * 应用id;application id
     */
    private Long appId;

    /**
     * 短信模板编号;SMS Template Number
     */
    private String templateCode;

    /**
     * 短信模板类型;SMS Template Type
     */
    private String templateType;

    /**
     * 模板参数json,例["name","age"], 按照顺序填写;Template parameters are JSON. For example, ["name","age"], set them in sequence
     */
    private String params;

    /**
     * 提供商 ALIYUN:阿里云, TENCENT:腾讯云;Internet Service Provider 
     */
    private String isp;

    /**
     * WAIT_AUDIT:待审核  AUDITING:审核中 AUDITED_SUCCESS:审核成功  AUDITED_FAIL:审核失败
     */
    private String status;

    /**
     * 模板内容;Content of the template
     */
    private String content;

    /**
     * INTERNAL：国内 FOREIGN: 国外
     */
    private String zone;

    /**
     * 备注说明
     */
    private String remark;

    /**
     * 逻辑删除【0->正常；1->已删除】 Logical deletion [0->normal; 1->deleted]
     */
    private Integer isDelete;

    /**
     * 创建人  founder
     */
    private String createUser;

    /**
     * 创建时间  creation time
     */
    private LocalDateTime createTime;

    /**
     * 修改人  Modified by
     */
    private String updateUser;

    /**
     * 修改时间  Change the time
     */
    private LocalDateTime updateTime;


}
